<%@page import="cn.edu.hpu.entity.ConcatNote"%>
<%@page import="cn.edu.hpu.entity.Contact"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="UTF-8">
		<title>新PMS项目</title>
		<script type="text/javascript" src="bootstrap/jquery.js"></script>
		<link rel="stylesheet" type="text/css" href="bootstrap/bootstrap.min.css" />
		<style type="text/css">
			body{
				background-image:url("bootstrap/backgroundimg.png");
			}
			.div1{
				width:600px;
				height:auto;
				margin-top:10px;
				margin-left:35px;
			
			}
		</style>
	</head>
	<body>
		<div class="div1">
			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0">
				<li class="active">&nbsp; 
					<a href="prod.jspx?method=task">联系人</a>
				</li>
			</ul>
			<div class="wall">	
				<address>
				<%
					Contact c = (Contact)request.getAttribute("contact");
				 %>
					<h3>${c.cname}</h3>
					<p>${c.ccompany}</p>
					<small>手机</small> ${c.cmobile}<br/>
					<small>固话</small> ${c.cphone}<br/><br/>
					<small>邮箱</small> ${c.cmail}<br/>
					<small>地址</small> ${c.address}<br/><br/>
					<small>主页</small> <a href="#">${c.web}</a><br/>
					<small>微博</small> <a href="#">${c.blog}</a><br/>

				</address>
				<div class="line">记录</div>
					<form action="contactnote.jspx" method="post">
						<input type="hidden" name="cid" value="${c.cid }"/>
						<textarea class="span5" rows="3" name="cncontent"></textarea>
						<br/>
						<input type="submit" value="发布"/>
					</form>
					
					<c:forEach items="${cnlist }" var="cn" begin=0>
						<blockquote>
						<small>${cn.cncontent}</small>

					</blockquote>
					</c:forEach>		
					
					<a href="prod.jspx?method=contact">←返回联系人列表</a>

				</div>
			</div>
	</body>
</html>